package com.onehouse.infrastructure.dao;

import com.onehouse.infrastructure.dao.po.RoomType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomTypeDao {
    int insert(RoomType roomType);
    RoomType selectById(Long typeId);
    List<RoomType> selectList();
    int deleteById(Long typeId);
    int updateById(RoomType roomType);
    boolean existedByTypeName(String typeName);
}
